<?php 

include_once( TOptions::serverCoreLibFile( 'TAppTable.php' ) );

/***************************************************************************
* TRegion
***************************************************************************/
class TRegion extends TAppTable
{
    var $tableName                           = TOptions::tabRegion;
    
    var $fldRecordId                         = 'id';
    var $fldGlobalId                         = '';
    var $fldRecordCreationTime               = '';
    
    var $jsonFields                          = '{
          "id":{"type":"integer","no_insert":"1","no_update":"1","alias":"i"}
        , "code":{"type":"string"}
        , "value":{"type":"string"}
        , "fok_id":{"type":"integer"}
        , "kladr_code":{"type":"string"}
        , "map_code":{"type":"integer"}
        , "region_code":{"type":"integer"}
    }';
}